<?php
$dao = new DaoUser();
$users = $dao->getList(" sortID<>0 and isStar='1' order by sortID asc",5);
?>
<div id="gap"></div>
  <div class="title"> <img src="<?php echo public_path('images/star.jpg');?>" />
      <a  href="<?php echo url('user/star?op=star');?>" class="addfontlink">+MORE</a>
  </div>
  <div id="line"></div>
  <div id="gap"></div>
  <div class="w990">
	<?php foreach($users as $u):?>
    <div class="index-star">
		<div class="cover">
			<a href="<?php echo url('user/index?id='.$u['id']);?>" title="<?php echo $u['name'];?>" hidefocus="true" target="_blank">
				<img src="<?php echo public_path($u['imageUrl']);?>" alt="<?php echo $u['name'];?>" />
			</a>
		</div>
		<p class="nickname">
			<a href="/tinming/" title="<?php echo $u['name'];?>" hidefocus="true" target="_blank"><?php echo $u['name'];?></a>
		</p>
    </div>
	<?php endforeach;?>
</div>
<script type="text/javascirpt">
$(document).ready(function(){
	$(".index-star img").LoadImage(true,190,190);
});
</script>
